package org.example;

import java.util.ArrayList;

public class Generic_Demo2_L {
    public static void main(String[] args) {
        ArrayList<Integer> list1 = new ArrayList<>();
        ListUtil.addAll(list1,1,2,3);
        System.out.println(list1);

        ArrayList<String> list2 = new ArrayList<>();
        ListUtil.addAll2(list2,"1","2","3");
        System.out.println(list2);
    }
}
